<?php

use Illuminate\Routing\Router;


Route::group([
    'prefix' => 'admin/comment',
    'namespace' => 'Frieza\\Modules\\Comment\\Controllers',
    'middleware' => [
        'web',
        'admin'
    ],
], function (Router $router) {
    //预算提示信息
    $router->get('/index', 'CommentController@index');

    $router->delete('/index/{id}', 'CommentController@del');

    $router->get('/activity/index', 'CommentActivityController@index');
    $router->get('/activity/index/set/{id}/{status}', 'CommentActivityController@setStaus');//精选
    $router->post('/activity/index/setTop/{id}', 'CommentActivityController@setTop');//置顶
    //批量精选
    $router->post('/activity/index/batch', 'CommentActivityController@batchSetStatus');
    $router->get('/activity/index/export', 'CommentActivityController@export');

});
